package com.lifo.taobaoshop.dao;

import com.lifo.taobaoshop.bean.model.HfTaobaoShop;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created by Administrator on 2018/5/25 0025.
 */
@Mapper
public interface HfTaobaoShopMapper {

    /**
     * 保存店铺信息
     * @param hfTaobaoShop
     */
    void saveHfTaobaoShop(HfTaobaoShop hfTaobaoShop);

    /**
     * 根据店铺id 或店铺名查询店铺信息
     * @param shopId
     * @param shopName
     * @return
     */
/*    HfTaobaoShop getHfTaobaoShopByShopIdOrShopName(int shopId,String shopName);*/

    /**
     * 根据店铺id查询店铺信息
     * @param shopId
     * @return
     */
    HfTaobaoShop getHfTaobaoShopByShopId(long shopId);

    /**
     * 根据店铺名查询店铺信息，全匹配，非模糊匹配
     * @param ShopName
     * @return
     */
    HfTaobaoShop getHfTaobaoShopByShopName(String ShopName);
}
